package com.twoGroup.boot.mapper;


import com.twoGroup.boot.pojo.GoodsAndShopAndGoodsTypeAndGoodsBrand;
import com.twoGroup.boot.pojo.GoodsImg;
import com.twoGroup.boot.pojo.ShopAndGoods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface ClientMapper {
        //客户在购物车页面通过点击店铺也就是通过id查询到该店铺和店铺下的商品
        public List<ShopAndGoods> findGoodsByClickShopId(@Param("shopId") int shopId);

    List<GoodsImg> findGoodsImgById(int goodsId);

    Map<String,Object> queryGoodsById(int goodsId);
}


